list	=	function(clazz,id){
	var grid;
	var columns  = _("items.fun.getColumns")(clazz); 
	
	var callback = function(clazz,pid){
		var data = _("items.fun.getData")(clazz);
		Ext.getCmp(pid).store.loadData(data);
	}
	
	columns.push({
		xtype: 'actioncolumn',
        text:"修改",  flex:1,
        items: [{
        	icon: "lib/ext/shared/icons/fam/grid.png",
            tooltip: "修改",
            handler: function(grid, rowIndex, colIndex) {
            	_("items.add.panel")(clazz,id,callback,grid.store.getAt(rowIndex).data);
            }
        }] 
	});
	
	columns.push({
		xtype: 'actioncolumn',
		text:"删除",  flex:1,
        items: [{
        	icon: "lib/ext/shared/icons/fam/delete.gif",
            tooltip: "删除",
            handler: function(grid, rowIndex, colIndex) {
            	_("items.delete.onepanel")(clazz,id,callback,grid.store.getAt(rowIndex).data);
            }
        }] 
	});
	
	
	grid = {
		xtype		:	'gridpanel',
        id			:   id,
        title		:	clazz,
        closable	:	true,
    	autoScroll	:	true,
        selModel	:	Ext.create('Ext.selection.CheckboxModel'),
        columns 	:	columns ,
        listeners   : {
        	show:function(){
        		//alert("sdf");
        /*		setTimeout(function(){
        			
        		},1000);
        		*/
        		callback(clazz,id);
        		setCurrentClass(clazz);
        	}
        } 
	};
	
	grid["tbar"]	=	_("items.fun.getTbar")(clazz,id,callback);
	grid["store"]	=	_("items.fun.getStore")(clazz);
	return grid;
};